package com.code.hfd.strategy;

/**
 * @author xi.yang
 * @create 2019-04-27 22:02
 **/
public class ModelDuck extends Duck {
    public ModelDuck() {
        flyBehavior = new FlyNoWay();
        quackBehavior = new Quack();
    }

    @Override
    public void display() {
        System.out.println("I'm a model duck");
    }
}
